import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
import 'package:potato_music_app/pages/login/music_login_page.dart';
import 'package:potato_music_app/pages/splash/music_splash_page.dart';
import 'package:potato_music_app/pages/tabbar/music_tabbar_page.dart';
import 'package:potato_music_app/pages/music_list/music_list_page.dart';

var splashHandler = new Handler(
  handlerFunc: (BuildContext context, Map<String, List<String>> params) {
    return MusicSplashPage();
  }
);

var tabbarHandler = new Handler(
  handlerFunc:(BuildContext context, Map<String, List<String>> params) {
    return MusicTabbarPage();
  }
);

var musicListHandler = new Handler(
  handlerFunc:(BuildContext context, Map<String, List<String>> params) {
    return MusicListPage();
  }
);

var loginHandler = new Handler(
  handlerFunc:(BuildContext context, Map<String, List<String>> params) {
    return MusicLoginPage();
  }
);